package com.bluesky.mapper.ConcurrencySafe;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bluesky.po.ConcurrencySafe.ConcurrencySafePO;

public interface ConcurrencySafeMapper extends BaseMapper<ConcurrencySafePO> {

    //乐观锁更新

    /**
     * 乐观锁更新 ConcurrencySafePO
     * @param po
     * @return
     */
    int optimisticUpdate(ConcurrencySafePO po);
}
